package com.ijiuchuang.jc_localization.network.api;

import com.ijiuchuang.jc_localization.bean.api.Keji;
import com.ijiuchuang.jc_localization.bean.api.News;

import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;

/**
 * Created by Veev on 2016/6/22
 *
 * @link 384506557@qq.com
 */
public interface ApiStore {

    @GET("showapi_open_bus/channel_news/search_news")
    Observable<News> getNews(
            @Query("channelId") String thisId,
            @Query("page") int thisPage
    );

    @GET("txapi/keji/keji")
    Observable<Keji> getKeji(
            @Query("num") int thisNum,
            @Query("page") int thisPage
    );


}
